import http from "@/utils/http.js";

export function indexs(data) {
  return new Promise((ress, errs) => {
    return http({
      method: "post",
      url: `http://192.168.1.188:8080/m.api`,
      data,
    })
      .then((res) => {
        ress(res);
      })
      .catch((err) => {
        errs(err);
      });
  });
}
